package com.xinzhi.controller;

import com.xinzhi.service.CarouselImgService;
import com.xinzhi.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin
@RestController
@ResponseBody
public class CarouselImgController {
    @Autowired
    CarouselImgService carouselImgService;

    @RequestMapping("/mtyx/CarouselImg")
    Result CarouselImg(){
        return carouselImgService.CarouselImg();
    }

}
